Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ctrl-C #11

Merged
merged 3 commits into from
Jul 3, 2014
Merged

Ctrl-C #11

merged 3 commits into from
Jul 3, 2014

Conversation

mitchellh
Copy link
Contributor

Ctrl-C now works for terraform apply. The other commands it would be trivial to add it to.

The semantics of a cancellation: Terraform finishes applying the current resource, since it isn't safe to cancel mid-apply (because we need to know exactly of state). After, it doesn't walk any more of the tree and exits immediately.

As a result, it is safe to Ctrl-C at any point in an apply, and the state will still be updated with the proper information.

mitchellh added a commit that referenced this pull request Jul 3, 2014
@mitchellh mitchellh merged commit c510525 into master Jul 3, 2014
@mitchellh mitchellh deleted the f-cancel branch July 3, 2014 00:03
ggiamarchi pushed a commit to ggiamarchi/terraform that referenced this pull request Feb 20, 2015
sarguru pushed a commit to sarguru/terraform that referenced this pull request May 18, 2016
sarguru pushed a commit to sarguru/terraform that referenced this pull request May 18, 2016
mitchellh added a commit that referenced this pull request Sep 28, 2016
The real reasoning for this can be found in #9, #10, and #11. All
these vendor updates aim to fix that issue, with minor adjustments
vanstee pushed a commit to vanstee/terraform that referenced this pull request Sep 28, 2017
…ainst-panic

r/heroku_app: Protect against panic
@BradAF BradAF mentioned this pull request Mar 5, 2019
randomcamel pushed a commit that referenced this pull request Mar 18, 2019
make: Add website + website-test targets
noahmercado pushed a commit to noahmercado/terraform that referenced this pull request Apr 8, 2020
@ghost ghost locked and limited conversation to collaborators May 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant